package com.ujs.eduservice.service;

import com.ujs.eduservice.entity.EduComment;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ujs.eduservice.entity.vo.frontVo.CommentVo;

import javax.servlet.http.HttpServletRequest;
import java.util.Map;

/**
 * <p>
 * 评论 服务类
 * </p>
 *
 * @author testjava
 * @since 2023-09-03
 */
public interface EduCommentService extends IService<EduComment> {

    Map<String, Object> getCommentList(String courseId, Long page, Long limit);

    void addComment(CommentVo commentVo, HttpServletRequest request);
}
